package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		: CliSpec.java 
 * @description	: 临床专业实体类
 * @author		: chl
 * @date		: 2016年12月7日
 * @version     : 2016
 * @copyright   : DHCC 
 */
@Entity
@Table(name="T_CLISPEC",schema="DRGs" )
public class CliSpec extends KoalaLegacyEntity {
	//临床专业代码
	@Id
	@Column(name="SPEC_CODE",nullable=false)
	private String specCode ;
	//临床专业描述
	@Column(name="SPEC_DESC")
	private String specDesc ;
	//临床专业标识
	@Column(name="SPEC_MARK")
	private String specMark ;
	
	
	
	public CliSpec() {
		super();
	}
	
	
	public CliSpec(String specCode, String specDesc, String specMark) {
		super();
		this.specCode = specCode;
		this.specDesc = specDesc;
		this.specMark = specMark;
	}
	
	

	public String getSpecCode() {
		return specCode;
	}


	public void setSpecCode(String specCode) {
		this.specCode = specCode;
	}


	public String getSpecDesc() {
		return specDesc;
	}


	public void setSpecDesc(String specDesc) {
		this.specDesc = specDesc;
	}


	public String getSpecMark() {
		return specMark;
	}


	public void setSpecMark(String specMark) {
		this.specMark = specMark;
	}


	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return this.specCode;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
